package com.googlecode.bushel.obr.xml;

import java.util.ArrayList;
import java.util.List;

public class Capability {

    private List<CapabilityProperty> properties = new ArrayList<CapabilityProperty>();

    private String name;

    public Capability(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void addProperty(String n, String value, String type) {
        properties.add(new CapabilityProperty(n, value, type));
    }

    public List<CapabilityProperty> getProperties() {
        return properties;
    }
}
